package org.abacus.platform.client;

import java.awt.Image;

import javax.swing.ImageIcon;

public class ResourceLoader {
	public final static String IMAGE;
	static {
		IMAGE = ResourceLoader.class.getResource("/").getPath() + "org/abacus/platform/client/resource/image/";
	}

	public static Image getImage(String image) {
		System.out.println(IMAGE);
		return new ImageIcon(IMAGE + image).getImage();
	}
}
